<!-- INCLUDE overall_header.html -->
<div id="socialnet_profile">

	<div id="left-column" class="snMpLeftColumn">
	
    {USER_AVATAR}
    
    <!-- IF S_USER_INACTIVE --><div class="snMPInactiveUser">{L_USER_IS_INACTIVE}: {USER_INACTIVE_REASON}</div><!-- ENDIF -->
    
    <ul class="snMenu">     
  		<!-- IF S_USER_LOGGED_IN and S_ZEBRA -->
      	<!-- IF U_REMOVE_FRIEND -->
          <li class="snUpLeftMenuMain"><a href="{U_REMOVE_FRIEND}">{L_REMOVE_FRIEND}</a></li>
      	<!-- ELSEIF U_ADD_FRIEND -->
          <li class="snUpLeftMenuMain"><a href="{U_ADD_FRIEND}">{L_SN_UP_ADD_FRIEND}</a></li>
      	<!-- ENDIF -->
      <!-- ENDIF -->
      <!-- IF S_USER_LOGGED_IN -->
      	<!-- IF U_USER_SUBSCRIBE -->
          <li class="snUpLeftMenuMain"><a href="{U_USER_SUBSCRIBE}">{L_SN_UP_SUBSCRIBE}</a></li>
      	<!-- ELSEIF U_USER_UNSUBSCRIBE -->
          <li class="snUpLeftMenuMain"><a href="{U_USER_UNSUBSCRIBE}">{L_SN_UP_UNSUBSCRIBE}</a></li>
      	<!-- ENDIF -->
      <!-- ENDIF -->
      <!-- IF U_PM && not S_OWN_PROFILE -->
        <li class="snUpLeftMenuMain"><a href="{U_PM}">{L_SEND_MESSAGE}</a></li>
      <!-- ENDIF -->
      <!-- IF not S_OWN_PROFILE && S_USER_LOGGED_IN && U_USER_REPORT -->
        <li class="snUpLeftMenuMain snUpReportUser"><a href="{U_USER_REPORT}">{L_SN_UP_REPORT_PROFILE}</a></li>
      <!-- ENDIF -->
      <!-- IF U_SWITCH_PERMISSIONS -->
        <li class="snUpLeftMenuMain"><a href="{U_SWITCH_PERMISSIONS}">{L_USE_PERMISSIONS}</a></li>
      <!-- ENDIF -->
      <!-- IF U_USER_BAN -->
        <li class="snUpLeftMenuMain"><a href="{U_USER_BAN}">{L_USER_BAN}</a></li>
      <!-- ENDIF -->
      <!-- IF S_OWN_PROFILE && S_USER_LOGGED_IN -->
        <li class="snUpLeftMenuMain"><a href="{U_EDIT_PROFILE}">{L_SN_UP_EDIT_PROFILE}</a></li>
        <li class="snUpLeftMenuMain"><a href="{U_EDIT_FRIENDS}">{L_SN_UP_EDIT_FRIENDS}</a></li>
        <li class="snUpLeftMenuMain"><a href="{U_EDIT_RELATIONS}">{L_SN_UP_EDIT_RELATIONS}</a></li>
      <!-- ENDIF -->
      <!-- IF U_USER_ADMIN -->
        <li class="snUpLeftMenuMain"><a href="{U_USER_ADMIN}">{L_USER_ADMIN}</a></li>
      <!-- ENDIF -->
  	</ul>
  	
  	<!-- IF .relationship -->
    	<div class="snMpLeftBlock forabg">
    		<div class="inner"><span class="corners-top"><span></span></span>
    			<ul class="topiclist"><li class="header"><dl><dt style="width:auto;">{L_SN_UP_RELATIONSHIP}</dt></dl></li></ul>
    			<h3>{L_SN_UP_RELATIONSHIP}</h3>
    		</div>
    	</div>
    	<div class="snFMSUsers snFMSUsers-friend">
    	<!-- BEGIN relationship -->
      	<span class="snFasFriend snFMSUser-friend ui-widget-content ui-corner-all">
          <!-- IF relationship.U_RELATIVE -->
            <span class="user_avatar ui-widget ui- widget-header ui- corner-all">
            	<a href="{relationship.U_PROFILE_LINK}"<!-- IF relationship.U_PROFILE_LINK == 'javascript:return false;' --> style="cursor:default;"<!-- ENDIF -->>{relationship.AVATAR}</a>
            </span>
          <!-- ENDIF -->
            <span class="snFmsUsername">
	          {relationship.STATUS}
			  <!-- IF relationship.U_RELATIVE -->{relationship.U_RELATIVE}<!-- ENDIF -->
			</span>
          
          <!-- IF relationship.ANNIVERSARY --><div style="margin-top: 4px;">{L_SN_UP_ANNIVERSARY}: {relationship.ANNIVERSARY}</div><!-- ENDIF -->
        </span>   
      <!-- END relationship -->
      </div>
      <div class="clear" style="margin-bottom: 10px;"></div>
  	<!-- ENDIF -->	
  	
  	<!-- IF .family -->
    	<div class="snMpLeftBlock forabg">
    		<div class="inner"><span class="corners-top"><span></span></span>
    			<ul class="topiclist"><li class="header"><dl><dt style="width:auto;">{L_SN_UP_FAMILY}</dt></dl></li></ul>
    			<h3>{L_SN_UP_FAMILY}</h3>
    		</div>
    	</div>
    	<div class="snFMSUsers snFMSUsers-friend">
		<!-- BEGIN family -->
			<span class="snFasFriend snFMSUser-friend ui-widget-content ui-corner-all">
            	<span class="user_avatar ui-widget ui- widget-header ui- corner-all">
					<a href="{family.U_PROFILE_LINK}"<!-- IF family.U_PROFILE_LINK == 'javascript:return false;' --> style="cursor:normal;"<!-- ENDIF -->>{family.AVATAR}</a>
				</span>
				<span class="snFmsUsername">{family.U_RELATIVE}</span>
				<div style="margin-top: 4px;">{family.STATUS}</div>
			</span> 
		<!-- END family -->
		</div>
      <div class="clear" style="margin-bottom: 10px;"></div>
  	<!-- ENDIF -->                                
  	
  	<!-- IF SN_FMS_BLOCK_FRIEND_IS_NOT_EMPTY -->
    	<div class="snMpLeftBlock forabg">
    		<div class="inner"><span class="corners-top"><span></span></span>
    			<ul class="topiclist"><li class="header"><dl><dt style="width:auto;">{L_SN_UP_FRIENDS} ({TOTAL_FRIENDS})</dt></dl></li></ul>
    			<h3>{L_SN_UP_FRIENDS} ({TOTAL_FRIENDS})</h3>
    		</div>
    	</div>
    	{SN_FMS_BLOCK_FRIEND_CONTENT}
  	  <div class="clear"></div>
  	<!-- ENDIF -->
  	
	</div>
	
	<div id="middle_column"> 
	
    <h2 class="snUpUsername">{USERNAME} <!-- IF S_ONLINE -->&nbsp;<img src="{T_IMAGESET_PATH}/socialnet/im_{ONLINE_IMG}.png" alt="" /><!-- ENDIF --></h2>
    <div class="snActions snActionsProfile">       
      <!-- IF SN_MODULE_APPROVAL_ENABLED and not S_OWN_PROFILE and not U_ADD_FRIEND and not U_CANCEL_REQUEST -->
        <div class="snUpAdd2Group">
          <span class="ui-button">{L_SN_UP_ADD_FRIEND_TO_GROUP}</span>
        	<div class="snUpAdd2GroupDetail">
        		<div class="snUpAdd2GroupContent ui-widget-content ui-corner-all">
          		<!-- BEGIN sn_fms_group -->
          		  <div gid="{sn_fms_group.GID}" uid="{USER_ID}" class="snFMSInGroup"><span class="ui-icon <!-- IF sn_fms_group.B_USER_IN_GROUP -->ui-icon-check<!-- ELSE -->ui-icon-no<!-- ENDIF -->" style="float:left;margin-right:8px;"></span><span>{sn_fms_group.S_GROUP_NAME}</span></div>
          		<!-- END sn_fms_group -->
          		<!-- IF not .sn_fms_group -->
                <div style="padding: 4px; text-align: center;"><a href="{U_CREATE_FRIENDS_GROUP}">{L_UFG_CREATE}</a></div>
              <!-- ENDIF -->
        		</div>
        	</div>
        </div>
      <!-- ENDIF -->
      <!-- IF U_PM && not S_OWN_PROFILE --><a href="{U_PM}" title="{L_MESSAGE}" class="ui-button">{L_MESSAGE}</a><!-- ENDIF -->
      <!-- IF not S_OWN_PROFILE -->
	      <!-- IF U_CANCEL_REQUEST --><a href="{U_CANCEL_REQUEST}" title="{L_SN_CANCEL_REQUEST}" class="ui-button">{L_SN_CANCEL_REQUEST}</a><!-- ENDIF -->
	      <!-- IF U_ADD_FRIEND --><a href="{U_ADD_FRIEND}" title="{L_SN_UP_ADD_FRIEND}" class="ui-button">{L_SN_UP_ADD_FRIEND}</a><!-- ENDIF -->
      <!-- ENDIF -->
    </div>
    <div class="clear"></div>
    
		<div id="snProfiletabs" style="display:none;">
			<ul>
				<!-- IF SN_MODULE_USERSTATUS_ENABLED --><li><a href="#snProfiletabs-wall"><span>{L_SN_UP_WALL}</span></a></li><!-- ENDIF -->
				<li><a href="{U_UP_TAB_INFO}#sn_profile_tabs-info"><span>{L_SN_UP_INFO}</span></a></li>
				<!-- IF SN_MODULE_APPROVAL_ENABLED --><li><a href="{U_UP_TAB_FRIENDS}#snProfiletabs-friends"><span>{L_SN_UP_FRIENDS}</span></a></li><!-- ENDIF -->
				<li><a href="{U_UP_TAB_STATS}#snProfiletabs-stats"><span>{L_SN_UP_STATS}</span></a></li>
			</ul>
	
			<!-- IF SN_MODULE_USERSTATUS_ENABLED-->
  			<div id="snProfiletabs-wall" class="snUsProfile" style="width:auto;">
  				<!-- INCLUDE socialnet/userstatus_memberlist.html -->
  			</div>
  			<!-- ENDIF -->
		</div>

	</div>
</div>
<div class="clear"></div>
<!-- INCLUDE overall_footer.html -->